package com.yida.system.service.impl;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Function;
import java.util.stream.Collectors;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import com.yida.common.core.constant.Constants;
import com.yida.common.core.constant.UserConstants;
import com.yida.common.core.exception.ServiceException;
import com.yida.common.core.utils.StringUtils;
import com.yida.common.security.utils.SecurityUtils;
import com.yida.system.api.domain.SysRole;
import com.yida.system.api.domain.SysUser;
import com.yida.system.domain.SysMenu;
import com.yida.system.domain.SysMenuImg;
import com.yida.system.domain.vo.MetaVo;
import com.yida.system.domain.vo.RouterVo;
import com.yida.system.domain.vo.TreeSelect;
import com.yida.system.mapper.SysMenuMapper;
import com.yida.system.mapper.SysRoleMapper;
import com.yida.system.mapper.SysRoleMenuMapper;
import com.yida.system.service.ISysMenuImgService;
import com.yida.system.service.ISysMenuService;

/**
 * 菜单 业务层处理
 * 
 * @author yida
 */
@Service
public class SysMenuServiceImpl implements ISysMenuService {
    public static final String PREMISSION_STRING = "perms[\"{0}\"]";

    @Autowired
    private SysMenuMapper menuMapper;

    @Autowired
    private SysRoleMapper roleMapper;

    @Autowired
    private SysRoleMenuMapper roleMenuMapper;

    @Autowired
    private ISysMenuImgService sysMenuImgService;

    /**
     * 根据用户查询系统菜单列表
     * 
     * @param userId 用户ID
     * @return 菜单列表
     */
    @Override
    public List<SysMenu> selectMenuList(Long userId) {
        return selectMenuList(new SysMenu(), userId);
    }

    /**
     * 查询系统菜单列表
     * 
     * @param menu 菜单信息
     * @return 菜单列表
     */
    @Override
    public List<SysMenu> selectMenuList(SysMenu menu, Long userId) {
        List<SysMenu> menuList = null;
        // 管理员显示所有菜单信息
        if (SysUser.isAdmin(userId)) {
            menuList = menuMapper.selectMenuList(menu);
        } else {
            menu.getParams().put("userId", userId);
            menuList = menuMapper.selectMenuListByUserId(menu);
        }
        return menuList;
    }

    /**
     * 根据用户ID查询权限
     * 
     * @param userId 用户ID
     * @return 权限列表
     */
    @Override
    public Set<String> selectMenuPermsByUserId(Long userId) {
        List<String> perms = menuMapper.selectMenuPermsByUserId(userId);
        Set<String> permsSet = new HashSet<>();
        for (String perm : perms) {
            if (StringUtils.isNotEmpty(perm)) {
                permsSet.addAll(Arrays.asList(perm.trim().split(",")));
            }
        }
        return permsSet;
    }

    /**
     * 根据角色ID查询权限
     * 
     * @param roleId 角色ID
     * @return 权限列表
     */
    @Override
    public Set<String> selectMenuPermsByRoleId(Long roleId) {
        List<String> perms = menuMapper.selectMenuPermsByRoleId(roleId);
        Set<String> permsSet = new HashSet<>();
        for (String perm : perms) {
            if (StringUtils.isNotEmpty(perm)) {
                permsSet.addAll(Arrays.asList(perm.trim().split(",")));
            }
        }
        return permsSet;
    }

    /**
     * 根据用户ID查询菜单
     * 
     * @param userId 用户名称
     * @return 菜单列表
     */
    @Override
    public List<SysMenu> selectMenuTreeByUserId(Long userId) {
        List<SysMenu> menus = null;
        if (SecurityUtils.isAdmin(userId)) {
            menus = menuMapper.selectMenuTreeAll();
        } else {
            menus = menuMapper.selectMenuTreeByUserId(userId);
        }
        return getChildPerms(menus, 0);
    }

    /**
     * 根据角色ID查询菜单树信息
     * 
     * @param roleId 角色ID
     * @return 选中菜单列表
     */
    @Override
    public List<Long> selectMenuListByRoleId(Long roleId) {
        SysRole role = roleMapper.selectRoleById(roleId);
        return menuMapper.selectMenuListByRoleId(roleId, role.isMenuCheckStrictly());
    }

    /**
     * 构建前端路由所需要的菜单
     * 
     * @param menus 菜单列表
     * @return 路由列表
     */
    @Override
    public List<RouterVo> buildMenus(List<SysMenu> menus) {
        List<RouterVo> routers = new LinkedList<RouterVo>();
        for (SysMenu menu : menus) {
            RouterVo router = new RouterVo();
            router.setHidden("1".equals(menu.getVisible()));
            router.setName(getRouteName(menu));
            router.setPath(getRouterPath(menu));
            router.setComponent(getComponent(menu));
            router.setQuery(menu.getQuery());
            router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
            List<SysMenu> cMenus = menu.getChildren();
            if (!cMenus.isEmpty() && cMenus.size() > 0 && UserConstants.TYPE_DIR.equals(menu.getMenuType())) {
                router.setAlwaysShow(true);
                router.setRedirect("noRedirect");
                router.setChildren(buildMenus(cMenus));
            } else if (isMenuFrame(menu)) {
                router.setMeta(null);
                List<RouterVo> childrenList = new ArrayList<RouterVo>();
                RouterVo children = new RouterVo();
                children.setPath(menu.getPath());
                children.setComponent(menu.getComponent());
                children.setName(StringUtils.capitalize(menu.getPath()));
                children.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
                children.setQuery(menu.getQuery());
                childrenList.add(children);
                router.setChildren(childrenList);
            } else if (menu.getParentId().intValue() == 0 && isInnerLink(menu)) {
                router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon()));
                router.setPath("/");
                List<RouterVo> childrenList = new ArrayList<RouterVo>();
                RouterVo children = new RouterVo();
                String routerPath = innerLinkReplaceEach(menu.getPath());
                children.setPath(routerPath);
                children.setComponent(UserConstants.INNER_LINK);
                children.setName(StringUtils.capitalize(routerPath));
                children.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), menu.getPath()));
                childrenList.add(children);
                router.setChildren(childrenList);
            }
            routers.add(router);
        }
        return routers;
    }

    /**
     * 构建前端所需要树结构
     * 
     * @param menus 菜单列表
     * @return 树结构列表
     */
    @Override
    public List<SysMenu> buildMenuTree(List<SysMenu> menus) {
        List<SysMenu> returnList = new ArrayList<SysMenu>();
        List<Long> tempList = new ArrayList<Long>();
        for (SysMenu dept : menus) {
            tempList.add(dept.getMenuId());
        }
        for (Iterator<SysMenu> iterator = menus.iterator(); iterator.hasNext();) {
            SysMenu menu = (SysMenu)iterator.next();
            // 如果是顶级节点, 遍历该父节点的所有子节点
            if (!tempList.contains(menu.getParentId())) {
                recursionFn(menus, menu);
                returnList.add(menu);
            }
        }
        if (returnList.isEmpty()) {
            returnList = menus;
        }
        return returnList;
    }

    /**
     * 构建前端所需要下拉树结构
     * 
     * @param menus 菜单列表
     * @return 下拉树结构列表
     */
    @Override
    public List<TreeSelect> buildMenuTreeSelect(List<SysMenu> menus) {
        List<SysMenu> menuTrees = buildMenuTree(menus);
        return menuTrees.stream().map(TreeSelect::new).collect(Collectors.toList());
    }

    /**
     * 根据菜单ID查询信息
     * 
     * @param menuId 菜单ID
     * @return 菜单信息
     */
    @Override
    public SysMenu selectMenuById(Long menuId) {
        return menuMapper.selectMenuById(menuId);
    }

    /**
     * 是否存在菜单子节点
     * 
     * @param menuId 菜单ID
     * @return 结果
     */
    @Override
    public boolean hasChildByMenuId(Long menuId) {
        int result = menuMapper.hasChildByMenuId(menuId);
        return result > 0;
    }

    /**
     * 查询菜单使用数量
     * 
     * @param menuId 菜单ID
     * @return 结果
     */
    @Override
    public boolean checkMenuExistRole(Long menuId) {
        int result = roleMenuMapper.checkMenuExistRole(menuId);
        return result > 0;
    }

    /**
     * 新增保存菜单信息
     * 
     * @param menu 菜单信息
     * @return 结果
     */
    @Override
    public int insertMenu(SysMenu menu) {
        return menuMapper.insertMenu(menu);
    }

    /**
     * 修改保存菜单信息
     * 
     * @param menu 菜单信息
     * @return 结果
     */
    @Override
    public int updateMenu(SysMenu menu) {
        return menuMapper.updateMenu(menu);
    }

    /**
     * 删除菜单管理信息
     * 
     * @param menuId 菜单ID
     * @return 结果
     */
    @Override
    public int deleteMenuById(Long menuId) {
        return menuMapper.deleteMenuById(menuId);
    }

    /**
     * 校验菜单名称是否唯一
     * 
     * @param menu 菜单信息
     * @return 结果
     */
    @Override
    public String checkMenuNameUnique(SysMenu menu) {
        Long menuId = StringUtils.isNull(menu.getMenuId()) ? -1L : menu.getMenuId();
        SysMenu info = menuMapper.checkMenuNameUnique(menu.getMenuName(), menu.getParentId());
        if (StringUtils.isNotNull(info) && info.getMenuId().longValue() != menuId.longValue()) {
            return UserConstants.NOT_UNIQUE;
        }
        return UserConstants.UNIQUE;
    }

    /**
     * 获取路由名称
     * 
     * @param menu 菜单信息
     * @return 路由名称
     */
    public String getRouteName(SysMenu menu) {
        String routerName = StringUtils.capitalize(menu.getPath());
        // 非外链并且是一级目录（类型为目录）
        if (isMenuFrame(menu)) {
            routerName = StringUtils.EMPTY;
        }
        return routerName;
    }

    /**
     * 获取路由地址
     * 
     * @param menu 菜单信息
     * @return 路由地址
     */
    public String getRouterPath(SysMenu menu) {
        String routerPath = menu.getPath();
        // 内链打开外网方式
        if (menu.getParentId().intValue() != 0 && isInnerLink(menu)) {
            routerPath = innerLinkReplaceEach(routerPath);
        }
        // 非外链并且是一级目录（类型为目录）
        if (0 == menu.getParentId().intValue() && UserConstants.TYPE_DIR.equals(menu.getMenuType()) && UserConstants.NO_FRAME.equals(menu.getIsFrame())) {
            routerPath = "/" + menu.getPath();
        }
        // 非外链并且是一级目录（类型为菜单）
        else if (isMenuFrame(menu)) {
            routerPath = "/";
        }
        return routerPath;
    }

    /**
     * 获取组件信息
     * 
     * @param menu 菜单信息
     * @return 组件信息
     */
    public String getComponent(SysMenu menu) {
        String component = UserConstants.LAYOUT;
        if (StringUtils.isNotEmpty(menu.getComponent()) && !isMenuFrame(menu)) {
            component = menu.getComponent();
        } else if (StringUtils.isEmpty(menu.getComponent()) && menu.getParentId().intValue() != 0 && isInnerLink(menu)) {
            component = UserConstants.INNER_LINK;
        } else if (StringUtils.isEmpty(menu.getComponent()) && isParentView(menu)) {
            component = UserConstants.PARENT_VIEW;
        }
        return component;
    }

    /**
     * 是否为菜单内部跳转
     * 
     * @param menu 菜单信息
     * @return 结果
     */
    public boolean isMenuFrame(SysMenu menu) {
        return menu.getParentId().intValue() == 0 && UserConstants.TYPE_MENU.equals(menu.getMenuType()) && menu.getIsFrame().equals(UserConstants.NO_FRAME);
    }

    /**
     * 是否为内链组件
     * 
     * @param menu 菜单信息
     * @return 结果
     */
    public boolean isInnerLink(SysMenu menu) {
        return menu.getIsFrame().equals(UserConstants.NO_FRAME) && StringUtils.ishttp(menu.getPath());
    }

    /**
     * 是否为parent_view组件
     * 
     * @param menu 菜单信息
     * @return 结果
     */
    public boolean isParentView(SysMenu menu) {
        return menu.getParentId().intValue() != 0 && UserConstants.TYPE_DIR.equals(menu.getMenuType());
    }

    /**
     * 根据父节点的ID获取所有子节点
     * 
     * @param list 分类表
     * @param parentId 传入的父节点ID
     * @return String
     */
    public List<SysMenu> getChildPerms(List<SysMenu> list, int parentId) {
        List<SysMenu> returnList = new ArrayList<SysMenu>();
        for (Iterator<SysMenu> iterator = list.iterator(); iterator.hasNext();) {
            SysMenu t = (SysMenu)iterator.next();
            // 一、根据传入的某个父节点ID,遍历该父节点的所有子节点
            if (t.getParentId() == parentId) {
                recursionFn(list, t);
                returnList.add(t);
            }
        }
        return returnList;
    }

    /**
     * 递归列表
     * 
     * @param list
     * @param t
     */
    private void recursionFn(List<SysMenu> list, SysMenu t) {
        // 得到子节点列表
        List<SysMenu> childList = getChildList(list, t);
        t.setChildren(childList);
        for (SysMenu tChild : childList) {
            if (hasChild(list, tChild)) {
                recursionFn(list, tChild);
            }
        }
    }

    /**
     * 得到子节点列表
     */
    private List<SysMenu> getChildList(List<SysMenu> list, SysMenu t) {
        List<SysMenu> tlist = new ArrayList<SysMenu>();
        Iterator<SysMenu> it = list.iterator();
        while (it.hasNext()) {
            SysMenu n = (SysMenu)it.next();
            if (n.getParentId().longValue() == t.getMenuId().longValue()) {
                tlist.add(n);
            }
        }
        return tlist;
    }

    /**
     * 判断是否有子节点
     */
    private boolean hasChild(List<SysMenu> list, SysMenu t) {
        return getChildList(list, t).size() > 0;
    }

    /**
     * 内链域名特殊字符替换
     * 
     * @return
     */
    public String innerLinkReplaceEach(String path) {
        return StringUtils.replaceEach(path, new String[] {Constants.HTTP, Constants.HTTPS, Constants.WWW, "."}, new String[] {"", "", "", "/"});
    }

    // -----------------------新增功能区--------------------------
    /**
     * 根据用户ID查询菜单
     * 
     * @param userId 用户名称
     * @return 菜单列表
     */
    @Override
    public List<SysMenu> selectMenuTreeByParentId(Long parent_id) {
        List<SysMenu> menus = menuMapper.selectMenuTreeByParentId(parent_id);
        return getChildPerms(menus, 0);
    }

    /* 
     * 获取主路由
     */
    @Override
    public List<SysMenu> getBaseMainRouters() {
        // 获取用户ID
        Long userId = SecurityUtils.getUserId();
        // 获取主菜单路径
        List<SysMenu> mainMenus = menuMapper.selectMenuTreeByParentId(0L);
        if (StringUtils.isEmpty(mainMenus)) {
            throw new ServiceException("获取菜单数据异常，请核对菜单数据！");
        }
        // 获取当前用户权限菜单
        List<SysMenu> menus = null;
        if (SecurityUtils.isAdmin(userId)) {
            menus = menuMapper.selectMenuTreeAll();
        } else {
            menus = menuMapper.selectMenuTreeByUserId(userId);
        }
        processSelect(mainMenus, menus);
        return mainMenus;
    }

    /**
     * 主菜單列表過濾處理
     * 
     * @param mainMenus 主餐单项
     * @param selectList 查询菜单项目
     */
    private void processSelect(List<SysMenu> mainMenus, List<SysMenu> selectList) {
        if (StringUtils.isEmpty(selectList)) {
            throw new ServiceException("未获取到用户菜单，请配置后操作！");
        }
        System.out.println("selectList:" + JSONArray.from(selectList));
        // 根据name进行转换key=parentId;value=SysMenu，重复默认保留前一位
        // Map<Long, SysMenu> selectMap = selectList.stream().collect(Collectors.toMap(SysMenu::getParentId,
        // Function.identity(), (oldValue, newValue) -> oldValue));
        // 判定当前的parentId是否为0，0的情况下获取自身，否获取parentId,判定parentId==0,则旧对象进行替换（自身无子集情况下，会存在对象内parentId=0结果）。
        Map<Long, SysMenu> selectMap = selectList.stream().collect(Collectors.toMap(e -> e.getParentId() == 0L ? e.getMenuId() : e.getParentId(), Function.identity(), (oldValue, newValue) -> (oldValue.getParentId() == 0L ? newValue : oldValue)));
        // selectMap.remove(0L);
        // 获取默认存储地址
        SysMenuImg defauSysMenuImg = sysMenuImgService.selectSysMenuImgByMenuId(0L);
        mainMenus.stream().forEach(sym -> {
            Long menuId = sym.getMenuId();
            SysMenu sysm = selectMap.get(menuId);
            List<SysMenu> list = new ArrayList<SysMenu>();
            SysMenuImg sysMenuImg = sysMenuImgService.selectSysMenuImgByMenuId(menuId);
            boolean selectFlag = false;
            if (StringUtils.isNotNull(sysm)) {
                // list.add(selectMap.get(menuId));
                // 当前菜单ID等于子集ID一致，则放弃加入子集
                // !=会因为对象寻址问题导致判定失败，使用equals
                sym.setChildren(new ArrayList<>());
                if (!sysm.getMenuId().equals(sym.getMenuId())) {
                    list.add(sysm);
                    sym.setChildren(list);
                }
                // sym.setSelectFlag(true);//
                selectFlag = true;
            }
            // 获取存储地址
            String url = StringUtils.isNull(sysMenuImg) ? defauSysMenuImg.getImgUrl() : sysMenuImg.getImgUrl();
            sym.setMenuImgUrl(url);
            sym.setSelectFlag(selectFlag);
        });
    }

    /* 
     * 新增菜单并返回ID
     */
    @Override
    public Long insertMenuToId(SysMenu menu) {
        if (menuMapper.insertMenuToId(menu) > 0) {
            Long menuId = menu.getMenuId();
            if (StringUtils.isNotNull(menuId)) {
                return menuId;
            }
            throw new ServiceException("新增菜单失败！未获取到对应得menuId!");
        }
        throw new ServiceException("新增菜单失败！");
    }

    /* 
     * 构建前端路由所需要的菜单
     */
    @Override
    public JSONArray buildMenusToJson(List<SysMenu> menus) {
        JSONArray jsonArray = new JSONArray();
        for (SysMenu menu : menus) {
            JSONObject jsonObject = new JSONObject();
            jsonObject.put("hidden", "1".equals(menu.getVisible()));
            jsonObject.put("name", getRouteName(menu));
            jsonObject.put("path", getRouterPath(menu));
            jsonObject.put("component", getComponent(menu));
            jsonObject.put("query", menu.getQuery());
            jsonObject.put("meta", new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
            List<SysMenu> cMenus = menu.getChildren();
            if (!cMenus.isEmpty() && cMenus.size() > 0 && UserConstants.TYPE_DIR.equals(menu.getMenuType())) {
                // router.setAlwaysShow(true);
                jsonObject.put("alwaysShow", true);
                jsonObject.put("redirect", "noRedirect");
                // 这里回调需要处理好返回json
                jsonObject.put("children", buildMenusToJson(cMenus));
            } else if (isMenuFrame(menu)) {
                jsonObject.put("meta", null);
                List<RouterVo> childrenList = new ArrayList<RouterVo>();
                RouterVo children = new RouterVo();
                children.setPath(menu.getPath());
                children.setComponent(menu.getComponent());
                children.setName(StringUtils.capitalize(menu.getPath()));
                children.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), StringUtils.equals("1", menu.getIsCache()), menu.getPath()));
                children.setQuery(menu.getQuery());
                childrenList.add(children);
                // router.setChildren(childrenList);
                jsonObject.put("children", childrenList);
            } else if (menu.getParentId().intValue() == 0 && isInnerLink(menu)) {
                // router.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon()));
                jsonObject.put("meta", new MetaVo(menu.getMenuName(), menu.getIcon()));
                jsonObject.put("path", "/");
                List<RouterVo> childrenList = new ArrayList<RouterVo>();
                RouterVo children = new RouterVo();
                String routerPath = innerLinkReplaceEach(menu.getPath());
                children.setPath(routerPath);
                children.setComponent(UserConstants.INNER_LINK);
                children.setName(StringUtils.capitalize(routerPath));
                children.setMeta(new MetaVo(menu.getMenuName(), menu.getIcon(), menu.getPath()));
                childrenList.add(children);
                jsonObject.put("children", childrenList);
            } else {
                // 看是否要保证children有值
                jsonObject.put("children", cMenus);
            }
            // 判定是目录
            if ("M".equals(menu.getMenuType())) {
                jsonObject.put("selectFlag", menu.getSelectFlag());
            }
            String menuImgUrl = menu.getMenuImgUrl();
            if (StringUtils.isNotEmpty(menuImgUrl)) {
                jsonObject.put("menuImgUrl", menuImgUrl);
            }
            jsonArray.add(jsonObject);
        }
        return jsonArray;
    }

    /* 
     * 获取所有菜单
     * 
     * 20230719
     * 
     * hmh
     * 
     */
    @Override
    public List<SysMenu> selectMenuList(SysMenu menu) {
        return menuMapper.selectMenuList(menu);
    }

    public static void main(String[] args) {
        // List<SysMenu> mainMenus = new ArrayList<SysMenu>();
        // SysMenu sm = new SysMenu();
        // // SysMenu.setMenuId(1L);
        // sm.setMenuId(1L);
        // sm.setParentId(1L);
        // mainMenus.add(sm);
        // sm = new SysMenu();
        // sm.setMenuId(2L);
        // sm.setParentId(1L);
        // mainMenus.add(sm);
        // sm = new SysMenu();
        // sm.setMenuId(3L);
        // sm.setParentId(2L);
        // mainMenus.add(sm);
        // sm = new SysMenu();
        // sm.setMenuId(4L);
        // sm.setParentId(2L);
        // mainMenus.add(sm);
        // Map<Long, SysMenu> map = mainMenus.stream().collect(Collectors.toMap(SysMenu::getParentId,
        // Function.identity(), (oldValue, newValue) -> oldValue));
        // System.out.println(map);
        // System.out.println(JSON.toJSONString(mainMenus));

        String info =
            "[{\"children\":[],\"component\":\"system/home.vue\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"system\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1,\"menuName\":\"权限管理系统\",\"menuType\":\"M\",\"orderNum\":1,\"params\":{},\"parentId\":0,\"path\":\"system\",\"perms\":\"\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/home\",\"createTime\":\"2022-11-28 17:58:25\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1085,\"menuName\":\"公维金管理系统\",\"menuType\":\"M\",\"orderNum\":2,\"params\":{},\"parentId\":0,\"path\":\"gongweijin\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"monitor\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":2,\"menuName\":\"系统监控\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":0,\"path\":\"monitor\",\"perms\":\"\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"tool/home.vue\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"tool\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":3,\"menuName\":\"系统工具\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":0,\"path\":\"tool\",\"perms\":\"\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"dfasfa\",\"createTime\":\"2023-06-01 09:17:11\",\"icon\":\"#\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1350,\"menuName\":\"测试主目录\",\"menuType\":\"M\",\"orderNum\":5,\"params\":{},\"parentId\":0,\"path\":\"/fdssjh\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/user/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"user\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":100,\"menuName\":\"用户管理\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1,\"path\":\"user\",\"perms\":\"system:user:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/user/user_area\",\"createTime\":\"2022-12-08 15:23:13\",\"icon\":\"bug\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1122,\"menuName\":\"用户绑定地区\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1,\"path\":\"user_area\",\"perms\":\"system:user:edit\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"system/area/user_list\",\"createTime\":\"2022-12-09 11:07:28\",\"icon\":\"bug\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1123,\"menuName\":\"分配用户\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1,\"path\":\"user_list\",\"perms\":\"system:area:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"system/role/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"peoples\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":101,\"menuName\":\"角色管理\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1,\"path\":\"role\",\"perms\":\"system:role:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/menu/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"tree-table\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":102,\"menuName\":\"菜单管理\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1,\"path\":\"menu\",\"perms\":\"system:menu:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/dept/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"tree\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":103,\"menuName\":\"部门管理\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1,\"path\":\"dept\",\"perms\":\"system:dept:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/post/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"post\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":104,\"menuName\":\"岗位管理\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1,\"path\":\"post\",\"perms\":\"system:post:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/ukey/index\",\"createTime\":\"2023-04-24 14:54:02\",\"icon\":\"druid\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1301,\"menuName\":\"ukey管理\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1,\"path\":\"system/ukey/index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/dict/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"dict\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":105,\"menuName\":\"字典管理\",\"menuType\":\"C\",\"orderNum\":6,\"params\":{},\"parentId\":1,\"path\":\"dict\",\"perms\":\"system:dict:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/config/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"edit\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":106,\"menuName\":\"参数设置\",\"menuType\":\"C\",\"orderNum\":7,\"params\":{},\"parentId\":1,\"path\":\"config\",\"perms\":\"system:config:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/notice/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"message\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":107,\"menuName\":\"通知公告\",\"menuType\":\"C\",\"orderNum\":8,\"params\":{},\"parentId\":1,\"path\":\"notice\",\"perms\":\"system:notice:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"log\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":108,\"menuName\":\"日志管理\",\"menuType\":\"M\",\"orderNum\":9,\"params\":{},\"parentId\":1,\"path\":\"log\",\"perms\":\"\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/area/list\",\"createTime\":\"2022-11-25 15:45:50\",\"icon\":\"redis-list\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1084,\"menuName\":\"地区管理\",\"menuType\":\"C\",\"orderNum\":10,\"params\":{},\"parentId\":1,\"path\":\"arealist\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/user/index\",\"createTime\":\"2023-05-23 17:26:50\",\"icon\":\"color\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1335,\"menuName\":\"用户管理2\",\"menuType\":\"C\",\"orderNum\":10,\"params\":{},\"parentId\":1,\"path\":\"/\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"monitor/online/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"online\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":109,\"menuName\":\"在线用户\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":2,\"path\":\"online\",\"perms\":\"monitor:online:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"monitor/job/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"job\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":110,\"menuName\":\"定时任务\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":2,\"path\":\"job\",\"perms\":\"monitor:job:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"sentinel\",\"isCache\":\"0\",\"isFrame\":\"0\",\"menuId\":111,\"menuName\":\"Sentinel控制台\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":2,\"path\":\"http://localhost:8718\",\"perms\":\"monitor:sentinel:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"nacos\",\"isCache\":\"0\",\"isFrame\":\"0\",\"menuId\":112,\"menuName\":\"Nacos控制台\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":2,\"path\":\"http://localhost:8848/nacos\",\"perms\":\"monitor:nacos:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"server\",\"isCache\":\"0\",\"isFrame\":\"0\",\"menuId\":113,\"menuName\":\"Admin控制台\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":2,\"path\":\"http://localhost:9100/login\",\"perms\":\"monitor:server:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"tool/build\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"build\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":114,\"menuName\":\"表单构建\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":3,\"path\":\"build\",\"perms\":\"tool:build:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"tool/gen/index\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"code\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":115,\"menuName\":\"代码生成\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":3,\"path\":\"gen\",\"perms\":\"tool:gen:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"swagger\",\"isCache\":\"0\",\"isFrame\":\"0\",\"menuId\":116,\"menuName\":\"系统接口\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":3,\"path\":\"http://localhost:8080/swagger-ui/index.html\",\"perms\":\"tool:swagger:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"tool/gen/edit\",\"createTime\":\"2023-02-20 15:15:54\",\"icon\":\"data\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1229,\"menuName\":\"修改代码生成\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":3,\"path\":\"gen_edit\",\"perms\":\"tool:gen:edit\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"system/log/operlog\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"form\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":500,\"menuName\":\"操作日志\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":108,\"path\":\"operlog\",\"perms\":\"system:operlog:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/log/sms\",\"createTime\":\"2022-11-03 10:05:35\",\"icon\":\"phone\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1061,\"menuName\":\"手机短信记录\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":108,\"path\":\"sms\",\"perms\":\"system:sms:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"system/log/logininfor\",\"createTime\":\"2022-10-24 11:44:51\",\"icon\":\"logininfor\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":501,\"menuName\":\"登录日志\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":108,\"path\":\"logininfor\",\"perms\":\"system:logininfor:list\",\"query\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/index/index\",\"createTime\":\"2022-11-28 18:52:44\",\"icon\":\"index\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1086,\"menuName\":\"首页\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1085,\"path\":\"gwjindex\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-11-28 19:21:32\",\"icon\":\"clipboard\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1087,\"menuName\":\"基础数据管理\",\"menuType\":\"M\",\"orderNum\":2,\"params\":{},\"parentId\":1085,\"path\":\"baseData\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-11-30 09:43:38\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1099,\"menuName\":\"缴存业务管理\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":1085,\"path\":\"contribute\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-12-29 17:05:39\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1204,\"menuName\":\"统计报表\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":1085,\"path\":\"report\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-11-30 10:06:38\",\"icon\":\"example\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1105,\"menuName\":\"专项维修资金申请\",\"menuType\":\"M\",\"orderNum\":4,\"params\":{},\"parentId\":1085,\"path\":\"repairApply\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-11-30 11:11:46\",\"icon\":\"number\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1118,\"menuName\":\"财务管理\",\"menuType\":\"M\",\"orderNum\":5,\"params\":{},\"parentId\":1085,\"path\":\"financeManage\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-12-22 10:50:29\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1185,\"menuName\":\"总账利息\",\"menuType\":\"M\",\"orderNum\":5,\"params\":{},\"parentId\":1085,\"path\":\"glInterest\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/propertyQuery/index\",\"createTime\":\"2022-12-07 09:34:36\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1120,\"menuName\":\"楼盘查询\",\"menuType\":\"C\",\"orderNum\":6,\"params\":{},\"parentId\":1085,\"path\":\"propertyQuery_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/xiaoqujichushujuliulan/index\",\"createTime\":\"2022-12-07 17:31:28\",\"icon\":\"documentation\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1121,\"menuName\":\"小区基础数据浏览\",\"menuType\":\"C\",\"orderNum\":7,\"params\":{},\"parentId\":1085,\"path\":\"xiaoqujichushujuliulan_index\",\"perms\":\"gwj:basis:data:query\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-12-19 14:40:48\",\"icon\":\"bug\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1153,\"menuName\":\"配置管理\",\"menuType\":\"M\",\"orderNum\":8,\"params\":{},\"parentId\":1085,\"path\":\"configManage\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/xiaoqu/index\",\"createTime\":\"2022-11-28 19:22:52\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1088,\"menuName\":\"小区基础数据初始化\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1087,\"path\":\"xiaoqu_base_data\",\"perms\":\"gwj:basis:init:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/building/index\",\"createTime\":\"2022-11-30 09:24:10\",\"icon\":\"clipboard\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1096,\"menuName\":\"小区数据新增楼栋\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1087,\"path\":\"building_index\",\"perms\":\"gwj:basis:addBuild:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/split/index\",\"createTime\":\"2022-11-30 09:27:31\",\"icon\":\"component\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1097,\"menuName\":\"小区拆分\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1087,\"path\":\"spilt_index\",\"perms\":\"gwj:basis:split:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/merge/index\",\"createTime\":\"2022-11-30 09:31:24\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1098,\"menuName\":\"小区合并\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1087,\"path\":\"baseData/merge_index\",\"perms\":\"gwj:basis:merge:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/updatebuild/index\",\"createTime\":\"2022-12-20 16:47:57\",\"icon\":\"time-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1160,\"menuName\":\"小区客体数据更新\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1087,\"path\":\"updatebuild_index\",\"perms\":\"gwj:basis:updateBuild:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/importBuilding/index\",\"createTime\":\"2022-12-20 13:58:00\",\"icon\":\"table\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1158,\"menuName\":\"导入楼盘（自建楼盘）\",\"menuType\":\"C\",\"orderNum\":6,\"params\":{},\"parentId\":1087,\"path\":\"importBuilding\",\"perms\":\"gwj:basis:selfBuiltHouses:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/baseData/importBuilding/building\",\"createTime\":\"2022-12-20 20:19:57\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1162,\"menuName\":\"导入楼栋数据\",\"menuType\":\"C\",\"orderNum\":7,\"params\":{},\"parentId\":1087,\"path\":\"building\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"gongweijin/baseData/importBuilding/house\",\"createTime\":\"2022-12-21 10:14:17\",\"icon\":\"checkbox\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1164,\"menuName\":\"导入房屋数据\",\"menuType\":\"C\",\"orderNum\":8,\"params\":{},\"parentId\":1087,\"path\":\"house\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"gongweijin/baseData/importBuilding/owner\",\"createTime\":\"2022-12-21 10:31:46\",\"icon\":\"clipboard\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1165,\"menuName\":\"导入业主数据\",\"menuType\":\"C\",\"orderNum\":9,\"params\":{},\"parentId\":1087,\"path\":\"owner\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"gongweijin/contribute/init/index\",\"createTime\":\"2022-11-30 09:46:18\",\"icon\":\"druid\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1100,\"menuName\":\"维修资金分户（初始化）\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1099,\"path\":\"init_index\",\"perms\":\"gwj:deposit:fundsSplit:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/contribute/store/index\",\"createTime\":\"2022-11-30 09:47:53\",\"icon\":\"druid\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1101,\"menuName\":\"业主缴存\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1099,\"path\":\"store_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/contribute/back/index\",\"createTime\":\"2022-11-30 09:51:43\",\"icon\":\"drag\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1102,\"menuName\":\"退多补差管理\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1099,\"path\":\"back_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/contribute/pay/index\",\"createTime\":\"2022-11-30 09:52:40\",\"icon\":\"dashboard\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1103,\"menuName\":\"单位批量缴费\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1099,\"path\":\"pay_index\",\"perms\":\"gwj:unit:deposit:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/contribute/count/index\",\"createTime\":\"2022-11-30 09:53:54\",\"icon\":\"download\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1104,\"menuName\":\"缴存统计\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1099,\"path\":\"count_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/fenhu\",\"createTime\":\"2022-11-30 10:07:30\",\"icon\":\"edit\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1106,\"menuName\":\"维修资金使用分户(老系统)\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1105,\"path\":\"fenhu_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/gongweijinzhichu/index\",\"createTime\":\"2022-11-30 10:08:25\",\"icon\":\"color\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1107,\"menuName\":\"公维金支出\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1105,\"path\":\"gongweijinzhichu_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-11-30 10:14:22\",\"icon\":\"code\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1108,\"menuName\":\"专项维修资金预受理\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":1105,\"path\":\"preaccept\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-11-30 10:21:32\",\"icon\":\"system\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1114,\"menuName\":\"专项维修资金受理\",\"menuType\":\"M\",\"orderNum\":4,\"params\":{},\"parentId\":1105,\"path\":\"accept\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/preaccept/yjwxZj/index\",\"createTime\":\"2022-11-30 10:15:14\",\"icon\":\"checkbox\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1109,\"menuName\":\"应急维修资金使用申请预受理\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1108,\"path\":\"preaccept_yjwxZj_index\",\"perms\":\"gwj:expend-urgent:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/preaccept/yjwxBf/index\",\"createTime\":\"2022-11-30 10:16:25\",\"icon\":\"checkbox\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1110,\"menuName\":\"应急维修拨付使用申请预受理\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1108,\"path\":\"yjwxBf_index\",\"perms\":\"gwj:expend-urgent:appropriate:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/preaccept/wxZj/index\",\"createTime\":\"2022-11-30 10:17:26\",\"icon\":\"dict\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1111,\"menuName\":\"维修资金使用申请预受理\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1108,\"path\":\"wxZj_index\",\"perms\":\"gwj:expend:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/preaccept/wxBf/index\",\"createTime\":\"2022-11-30 10:19:03\",\"icon\":\"size\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1112,\"menuName\":\"维修资金拨付使用申请预受理\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1108,\"path\":\"wxBf_index\",\"perms\":\"gwj:expend:appropriate:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/preaccept/alHg/index\",\"createTime\":\"2022-11-30 10:20:27\",\"icon\":\"peoples\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1113,\"menuName\":\"案例回顾\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1108,\"path\":\"alHg_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/accept/yjwxZj/index\",\"createTime\":\"2022-11-30 10:22:13\",\"icon\":\"skill\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1115,\"menuName\":\"应急维修资金使用申请受理\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1114,\"path\":\"yjwxZj_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/accept/yjwxBf/index\",\"createTime\":\"2022-11-30 10:24:36\",\"icon\":\"phone\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1116,\"menuName\":\"应急维修拨付使用申请受理\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1114,\"path\":\"yjwxBf_index_s\",\"perms\":\"gwj:expend-urgent:appropriate:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/accept/wxZj/index\",\"createTime\":\"2022-11-30 10:26:33\",\"icon\":\"swagger\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1117,\"menuName\":\"维修资金使用申请受理\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1114,\"path\":\"wxZj_index_s\",\"perms\":\"gwj:expend:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/repairApply/accept/wxBf/index\",\"createTime\":\"2023-05-19 15:42:36\",\"icon\":\"druid\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1326,\"menuName\":\"维修资金拨付使用申请\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1114,\"path\":\"11\",\"perms\":\"gwj:expend:appropriate:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/yhjcsjsz/index\",\"createTime\":\"2022-11-30 11:13:41\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1119,\"menuName\":\"银行基础数据设置\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1118,\"path\":\"yhjcsjsz\",\"perms\":\"gwj:finance:bank:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/calc/index\",\"createTime\":\"2022-12-21 19:46:52\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1173,\"menuName\":\"计算标准\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1118,\"path\":\"calc_index\",\"perms\":\"gwj:config:calculateType:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/jiexi/index\",\"createTime\":\"2022-12-21 19:53:24\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1174,\"menuName\":\"系统结息\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1118,\"path\":\"jiexi\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/divice/index\",\"createTime\":\"2022-12-29 17:08:55\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1205,\"menuName\":\"分户数据管理\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1118,\"path\":\"divice_index\",\"perms\":\"gwj:finance:money:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/rate/index\",\"createTime\":\"2022-12-21 19:58:41\",\"icon\":\"druid\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1175,\"menuName\":\"银行利率\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1118,\"path\":\"rate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/interest/index\",\"createTime\":\"2022-12-21 20:11:32\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1176,\"menuName\":\"银行利息试算(单笔)\",\"menuType\":\"C\",\"orderNum\":6,\"params\":{},\"parentId\":1118,\"path\":\"interest\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/product/index\",\"createTime\":\"2022-12-22 09:45:42\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1184,\"menuName\":\"本年积数计息(单笔)\",\"menuType\":\"C\",\"orderNum\":7,\"params\":{},\"parentId\":1118,\"path\":\"product\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/zzLiushui/index\",\"createTime\":\"2022-12-21 20:15:37\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1177,\"menuName\":\"总账流水查询\",\"menuType\":\"C\",\"orderNum\":8,\"params\":{},\"parentId\":1118,\"path\":\"zzLiushui\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/zhTaizhang/index\",\"createTime\":\"2022-12-21 20:17:32\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1178,\"menuName\":\"综合台账查询\",\"menuType\":\"C\",\"orderNum\":9,\"params\":{},\"parentId\":1118,\"path\":\"zhTaizhang\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/jiexiDate/index\",\"createTime\":\"2022-12-21 20:18:56\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1179,\"menuName\":\"结息日期设置\",\"menuType\":\"C\",\"orderNum\":10,\"params\":{},\"parentId\":1118,\"path\":\"jiexiDate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/pay/index\",\"createTime\":\"2022-12-22 09:24:29\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1182,\"menuName\":\"支出金额统计\",\"menuType\":\"C\",\"orderNum\":11,\"params\":{},\"parentId\":1118,\"path\":\"pay\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/publicPay/index\",\"createTime\":\"2022-12-21 20:23:51\",\"icon\":\"post\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1180,\"menuName\":\"公维金缴交情况\",\"menuType\":\"C\",\"orderNum\":12,\"params\":{},\"parentId\":1118,\"path\":\"publicPay\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/publicNotice/index\",\"createTime\":\"2022-12-22 09:15:01\",\"icon\":\"date\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1181,\"menuName\":\"公维金缴费通知登记系统\",\"menuType\":\"C\",\"orderNum\":13,\"params\":{},\"parentId\":1118,\"path\":\"publicNotice\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/divice/yearTable\",\"createTime\":\"2022-12-28 10:19:08\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1196,\"menuName\":\"财务分户旧数据-年统计报表\",\"menuType\":\"C\",\"orderNum\":14,\"params\":{},\"parentId\":1118,\"path\":\"divice_yearTable\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"gongweijin/financeManage/divice/yearDetail\",\"createTime\":\"2022-12-28 11:43:14\",\"icon\":\"chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1197,\"menuName\":\"财务分户旧数据-年详情\",\"menuType\":\"C\",\"orderNum\":15,\"params\":{},\"parentId\":1118,\"path\":\"divice_yearDetail\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"gongweijin/configManage/work/index\",\"createTime\":\"2022-12-28 16:35:40\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1201,\"menuName\":\"业务管理\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1153,\"path\":\"work\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/configManage/flow/index\",\"createTime\":\"2022-12-19 14:42:05\",\"icon\":\"druid\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1154,\"menuName\":\"流程管理\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1153,\"path\":\"flow\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/configManage/step/index\",\"createTime\":\"2022-12-19 15:47:40\",\"icon\":\"skill\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1155,\"menuName\":\"步骤管理\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1153,\"path\":\"step\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/configManage/info/index\",\"createTime\":\"2022-12-19 18:35:25\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1156,\"menuName\":\"步骤配置信息管理\",\"menuType\":\"C\",\"orderNum\":4,\"params\":{},\"parentId\":1153,\"path\":\"info\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/configManage/flow/step_config\",\"createTime\":\"2022-12-20 10:49:18\",\"icon\":\"clipboard\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1157,\"menuName\":\"配置步骤\",\"menuType\":\"C\",\"orderNum\":5,\"params\":{},\"parentId\":1153,\"path\":\"step_config\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"1\"},{\"children\":[],\"component\":\"gongweijin/configManage/dict/dict-data\",\"createTime\":\"2023-05-19 15:46:39\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1334,\"menuName\":\"字典编辑\",\"menuType\":\"C\",\"orderNum\":7,\"params\":{},\"parentId\":1153,\"path\":\"gwj_dict-data\",\"perms\":\"gwj:config:dictType:query\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/configManage/attachment/index\",\"createTime\":\"2023-05-19 15:46:01\",\"icon\":\"component\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1333,\"menuName\":\"附件配置管理\",\"menuType\":\"C\",\"orderNum\":8,\"params\":{},\"parentId\":1153,\"path\":\"attachment_index\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/divice/yearTable\",\"createTime\":\"2022-12-28 14:51:23\",\"icon\":\"year_chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1198,\"menuName\":\"财务分户数据-年度报表\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1183,\"path\":\"divice_yearTable\",\"perms\":\"gwj:report:money:year\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/divice/monthTable\",\"createTime\":\"2022-12-28 14:55:47\",\"icon\":\"month_chart\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1199,\"menuName\":\"财务分户数据-月度报表\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1183,\"path\":\"divice_monthTable\",\"perms\":\"gwj:report:money:month\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/financeManage/divice/detail\",\"createTime\":\"2022-12-28 15:11:54\",\"icon\":\"form\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1200,\"menuName\":\"财务分户数据-报表详情\",\"menuType\":\"C\",\"orderNum\":3,\"params\":{},\"parentId\":1183,\"path\":\"divice_detail\",\"perms\":\"gwj:report:money:list\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-12-22 10:51:29\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1186,\"menuName\":\"总账\",\"menuType\":\"M\",\"orderNum\":1,\"params\":{},\"parentId\":1185,\"path\":\"zong\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-12-22 11:22:46\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1189,\"menuName\":\"已分户账\",\"menuType\":\"M\",\"orderNum\":2,\"params\":{},\"parentId\":1185,\"path\":\"divdied\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"createTime\":\"2022-12-22 11:54:24\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1192,\"menuName\":\"未分户账\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":1185,\"path\":\"undivdied\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/glInterest/zong/rate\",\"createTime\":\"2022-12-22 11:05:14\",\"icon\":\"date-range\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1187,\"menuName\":\"总账人行利率计算\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1186,\"path\":\"zong_rate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/glInterest/zong/rerate\",\"createTime\":\"2022-12-22 11:18:29\",\"icon\":\"#\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1188,\"menuName\":\"总账人行加固率计算\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1186,\"path\":\"zong_rerate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/glInterest/divdied/rate\",\"createTime\":\"2022-12-22 11:23:52\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1190,\"menuName\":\"已分户账人行利率计算\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1189,\"path\":\"divdied_rate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/glInterest/divdied/rerate\",\"createTime\":\"2022-12-22 11:25:57\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1191,\"menuName\":\"已分户账人行加固利率计算\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1189,\"path\":\"divdied_rerate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/glInterest/undivdied/rate\",\"createTime\":\"2022-12-22 11:55:15\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1193,\"menuName\":\"未分户账人行利率计算\",\"menuType\":\"C\",\"orderNum\":1,\"params\":{},\"parentId\":1192,\"path\":\"undivdied_rate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\"gongweijin/glInterest/undivdied/rerate\",\"createTime\":\"2022-12-22 13:11:40\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1194,\"menuName\":\"未分户账人行加固利率计算\",\"menuType\":\"C\",\"orderNum\":2,\"params\":{},\"parentId\":1192,\"path\":\"undivdied_rerate\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"},{\"children\":[],\"component\":\" \",\"createTime\":\"2022-12-22 09:38:41\",\"icon\":\"cascader\",\"isCache\":\"0\",\"isFrame\":\"1\",\"menuId\":1183,\"menuName\":\"分户数据统计\",\"menuType\":\"M\",\"orderNum\":3,\"params\":{},\"parentId\":1204,\"path\":\"divice\",\"perms\":\"\",\"selectFlag\":false,\"status\":\"0\",\"visible\":\"0\"}]";

        // JSONArray.from(info).toList(SysMenu.class, List<SysMenu>);
        List<SysMenu> selectList = JSON.parseArray(info).toList(SysMenu.class);
        // List<SysMenu> list = JSONArray.from(info).toList(SysMenu.class);
        // System.out.println(selectList);

        // Map<Long, SysMenu> selectMap = selectList.stream().collect(Collectors.toMap(SysMenu::getParentId,
        // Function.identity(), (oldValue, newValue) -> oldValue));
        // Map<Long, SysMenu> selectMap = selectList.stream().collect(Collectors.toMap(SysMenu::getParentId,
        // Function.identity(), (oldValue, newValue) -> oldValue));
        // System.out.println("selectMap:" + JSON.toJSONString(selectMap));
        Map<String, SysMenu> selectMap1 = selectList.stream().collect(Collectors.toMap(e -> e.getParentId() == 0L ? e.getMenuId().toString() : e.getParentId().toString(), Function.identity(), (oldValue, newValue) -> (oldValue.getParentId() == 0L ? newValue : oldValue)));
        // Map<String, SysMenu> selectMap1 = selectList.stream().collect(Collectors.toMap(e -> e.getParentId() == 0L ?
        // e.getMenuId().toString() : e.getParentId().toString(), Function.identity(), (oldValue, newValue) ->
        // oldValue));

        System.out.println("selectMap1:" + JSON.toJSONString(selectMap1));
    }

}
